<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Template_typeid')}:</label>
            <div class="col-xs-12 col-sm-8 checkbox">
                {volist name="templateTypes" id="vo" key="k"}
                <label>
                    <input id="c-template_typeid-{$vo->id}" data-rule="required" {$k==1?"checked":""}  name="row[template_typeid]" type="radio" value="{$vo->id}">
                    {$vo->template_type}
                </label>
                {/volist}
            </div>
        </div>
   
    <div class="form-group">
        <div class="col-xs-12 col-sm-12">
            <textarea id="c-template" data-rule="required" class="form-control editor" rows="5" name="row[template]" cols="50"></textarea>
        </div>
    </div>
   
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
